home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / C / Frameworks / Extension Shell 1.3 / Sample Extensions / Bell Test ƒ / Bell Test ReadMe next >
Encoding:
Text File  |  1994-04-05  |  771 b   |  18 lines  |  [TEXT/R*ch]

  1. Bell Test
  2. ---------
  3.  
  4. Bell Test is one of the sample INITs from Eric Shapiro's July 1993 BYTE Article. It's available in its
  5. original form as:
  6.  
  7.             ftp.uu.net::/published/byte/93jul/belltest.sea
  8.  
  9.  
  10. It is an example of using Extension Shell to install a trap patch, extend the address table, and load and
  11. call a block of code in the System Heap. The net effect is to make the Mac play a sound when About... is
  12. selected from the Apple menu. While it might look more complex than the other extensions, there's
  13. not a lot different. It installs _two_ code resources, not one, and it uses a custom version of the
  14. CODE 5002 resource (i.e., the Address table).
  15.  
  16. The trap patch is a tail patch to MenuSelect. Read ‘Tail-patching under System 7’ to see why this is OK
  17. under System 7.
  18.